home *** CD-ROM | disk | FTP | other *** search
/ Network Supervisor's Toolkit / Network Supervisor's Toolkit.iso / novell / nw386 / strem-11.386 < prev    next >
Text File  |  1996-07-10  |  6KB  |  106 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11. Chapter 11
  12. Streams Interface
  13.  
  14.  
  15.  
  16. Streams is a set of tools consisting of system calls,
  17. kernel resources, and kernel utility routines.  These
  18. tools are used to create, use, or dismantle a stream--a
  19. full-duplex processing and data transfer path between the
  20. driver on the low kernel end of the NetWare OS and the
  21. user application on the high end.  (The NetWare
  22. implementation of Streams was developed from AT&T's
  23. STREAMS, available on UNIX System V.  For more detailed
  24. information on STREAMS, refer to the AT&T STREAMS Primer
  25. and the STREAMS Programmers Guide.)
  26.  
  27. A stream defines the interface for character I/O within
  28. the kernel and between the kernel and the rest of the
  29. operating system.  It is made up of three basic parts:
  30.  
  31.    ■ The Stream head that interfaces with user
  32.      applications
  33.  
  34.    ■ Modules (optional) used to process data traveling
  35.      between the Stream head and the Stream end
  36.  
  37.    ■ The Stream end or driver providing an external
  38.      interface by means of a character I/O device
  39.  
  40. The Transport Level Interface (TLI) is an application
  41. programming interface that sits between the streams and
  42. user applications, allowing interface with transport
  43. level protocols such as SPX.
  44. NetWare 386 implements Streams as a number of NetWare
  45. Loadable Modules (NLMs).  One NLM includes the STREAMS
  46. application interface routines, the utility routines for
  47. STREAMS modules, the log device, and a driver for the 
  48. Open Data-Link Interface.  The utility routines in the
  49. NLM include all common functions used by STREAMS modules.
  50.  
  51. Other, NLMs include a number of Streams modules to
  52. provide communication protocols such as IPX/SPX or
  53. TCP/IP.  The graphic on the next page illustrates a
  54. NetWare 386 server with Streams support.
  55.                                     ┌────────────────────────────────┐
  56. NetWare Operating System            │      NetWare OS Routines       │
  57.                                     └────────────────────────────────┘
  58.                                                                 
  59.                                     ┌─────┐  ┌─────┐  ┌─────┐  ┌─────┐
  60.                                     │     │  │     │  │     │  │     │
  61.                                     │  N  │  │  A  │  │  N  │  │  S  │
  62. Service Protocol Stacks             │  C  │  │  F  │  │  F  │  │  M  │
  63.                                     │  P  │  │  P  │  │  S  │  │  B  │
  64.                                     │     │  │     │  │     │  │     │
  65.                                     └─────┘  └─────┘  └─────┘  └─────┘
  66.                                                                      
  67. Transport Layer Interface           ┌────────────────────────────────┐
  68.                                   ┌─┤      Stream Head Interface     ├─┐      ■─┐
  69.                                   │▒└────────────────────────────────┘▒│        │
  70.                                   │▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│        │
  71.                                   │▒┌────────┐▒▒┌────────┐▒▒┌────────┐▒│        │
  72.                                   │▒│        │▒▒│        │▒▒│        │▒│        │
  73.                                   │▒│        │▒▒│        │▒▒│        │▒│        │           
  74.                                   │▒│        │▒▒│        │▒▒│        │▒│        │
  75. Communication Protocol Stacks     │▒│  IPX   │▒▒│  Apple │▒▒│ TCP/IP │▒│        │          
  76. Streams                           │▒│        │▒▒│  Talk  │▒▒│        │▒│        │
  77.                                   │▒│        │▒▒│        │▒▒│        │▒│        │
  78.                                   │▒│        │▒▒│        │▒▒│        │▒│        │
  79.                                   │▒└────────┘▒▒└────────┘▒▒└────────┘▒│        │
  80.                                   │▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒│        │
  81.                                   │▒┌────────────────────────────────┐▒│        │
  82.                                   └─┤        Streams to LSL          ├─┘      ■─┘
  83.                                     └────────────────────────────────┘  
  84.                                                                    
  85.                                     ┌────────────────────────────────┐ 
  86.                                     │    Link Support Layer (LSL)    │
  87.                                     └────────────────────────────────┘    
  88.                                                                      
  89.                                     ┌─────┐  ┌─────┐  ┌─────┐  ┌─────┐
  90.                                     │     │  │     │  │     │  │     │
  91.                                     │  T  │  │  E  │  │  R  │  │     │  
  92. Multiple Link Interface Drivers     │  o  │  │  t  │  │  X  │  │     │
  93.                                     │  k  │  │  h  │  │  N  │  │     │         
  94.            (MLIDs)                  │  e  │  │  e  │  │  E  │  │     │    
  95.                                     │  n  │  │  r  │  │  T  │  │     │
  96.                                     │     │  │     │  │     │  │     │
  97.                                     └─────┘  └─────┘  └─────┘  └─────┘
  98.  
  99.                          ┌─────────┐    ┌─────────┐    ┌─────────┐    ┌─────────┐
  100.                          │┌────────┴┐   │┌────────┴┐   │┌────────┴┐   │┌────────┴┐
  101. Multiple LAN Adapters    └┤         │   └┤┌────────┴┐  └┤┌────────┴┐  └┤┌────────┴┐
  102.                           └─────────┘    └┤┌────────┴┐  └┤┌────────┴┐  └┤┌────────┴┐
  103.                                           └┤         │   └┤         │   └┤         │
  104.                                            └─────────┘    └─────────┘    └─────────┘
  105.  
  106.               NetWare 386 STREAMS Interface